package com.tgy.twoDatabase.controller;

import com.tgy.twoDatabase.entity.Sendmessagelog;
import com.tgy.twoDatabase.service.SendmessagelogService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Map;

/**
 * (Sendmessagelog)表控制层
 *
 * @author makejava
 * @since 2021-10-02 10:25:36
 */
@RestController
@RequestMapping("sendmessagelog")
public class SendmessagelogController {
    /**
     * 服务对象
     */
    @Resource
    private SendmessagelogService sendmessagelogService;

    @PostMapping("queryAllMessage")
    public Map<String, Object> queryAll(Sendmessagelog sendmessagelog) {
        return this.sendmessagelogService.queryAll(sendmessagelog);
    }


}
